package com.example.goods_manage.config;

import com.example.goods_manage.utils.cache.GuavaMap;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;


@SuppressWarnings({"unchecked", ""})
@Component
public class CacheConfig {
    private static final Logger log = LoggerFactory.getLogger(CacheConfig.class);

    /**
     * 返回一个管理 验证码的 map
    */
    @Bean
    public GuavaMap<String,String>  codeGuavaMap(){
        return new GuavaMap<String,String> ();
    }
}
